import Ax from './api';

export default {
  deviceClassAdd: (param = {}) => Ax.put(`/deviceClass/add`, {...param}),
  deviceClassEdit: (param = {}) => Ax.put(`/deviceClass/edit`, param),
  deviceClassDelete: (query = {}) => Ax.delete(`/deviceClass/delete?_id=${query._id}`),
  deviceClassList: (param = {}) => Ax.post(`/deviceClass/list`, param),
  deviceClassAll: (query = {}) => Ax.get(`/deviceClass/all`),
  deviceClassDetail: (query = {}) => Ax.get(`/deviceClass/detail?_id=${query._id}`),
};
